package com.sucker.infoservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 活动表
 * </p>
 *
 * @author sucker
 * @since 2022-07-04
 */
@Getter
@Setter
@TableName("activity")
@Schema(description = "活动表")
public class Activity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "活动id",hidden = true)
    @TableId(value = "ac_id",type = IdType.ASSIGN_ID)
    private String acId;

    @Schema(description = "活动名称")
    @TableField("ac_name")
    private String acName;

    @Schema(description = "支出")
    @TableField("pay")
    private String pay;

    @Schema(description = "收入")
    @TableField("income")
    private String income;

    @Schema(description = "活动图片")
    @TableField("pic")
    private String pic;

    @Schema(description = "活动详情")
    @TableField("detail")
    private String detail;

    @Schema(description = "地域")
    @TableField("region")
    private String region;

    @Schema(description = "012分别为家校社")
    @TableField("type")
    private Integer type;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "结束时间")
    @TableField("end_time")
    private Date endTime;


}
